<%include file="include/head.html"%>
<div class="register">
  <div class="guide_title">
    为了您的亲属能够方便的找到你，请填写您的真实信息。
  </div>
  <div class="clear">
  </div>
  <div class="left">
    <div class="figure">
      <img src="<%$IMG_DIR%>/male.png"/>
    </div>
    <div class="user_brief">
    </div>
  </div>
  <div class="right">
    <form id="register" action="/users/insert_person" method='post' class="check_form">
      <input type="hidden" name="creator" value="<%$creator%>"/>
      <table id='table_register'>
        <tr>
          <td class="td_desc">省：
          </td>
          <td>
            <select required class="required" id="province_id">
	      <%$provinces%>
            </select>
          </td>
        </tr>
        <tr>
          <td class="td_desc">市：
          </td>
          <td>
            <select required class="required" id="city_id">
            </select>
          </td>
        </tr>
        <tr>
          <td class="td_desc">县：
          </td>
          <td>
            <select required class="required" id="town_id">
            </select>
	    <input type="hidden" name="region_code" id="city_code"/>
          </td>
        </tr>
        <tr>
          <td class="td_desc">性别：
          </td>
          <td>
            <label><input type="radio" required class="required" name="gender" id="male" value="<%$MALE%>"/>男</label>
            <label><input type="radio" name="gender" id="female" value="<%$FEMALE%>"/>女</label>            
          </td>
        </tr>
        <tr>
          <td class="td_desc">姓名：
          </td>
          <td>
	    <input required class="required" maxlength="5" type="text" name="realname"/>为了您的亲属能查找到你，请填写真实姓名。
          </td>
        </tr>
	<tr>
	  <td class='td_desc'>出生日期：
	  <td>
	    <input required pattern="-?\d{1,4}(-(0[1-9]|1[0-2]))?(-(0[1-9]|1[0-9]|2[0-9]|3[0-1]))?" class="required" 
		   maxlength="11" type="date" name='day_of_birth'/>格式：1985-05-26，月日不详，可省略，如:1958, 1920-03 均可；公元前年份在年份前加‘-’号即可，如：“-523-02-01”，表示公元前523年2月1日
	  </td>
	</tr>
	<!-- <tr> -->
	<!--   <td class='td_desc'> -->
	<!--   <td> -->
        <!--     <label> -->
	<!--       <input required class="required" maxlength="64" type='checkbox' maxlength="30"/>我同意维基家谱使用协议 -->
        <!--     </label> -->
        <!--     <a href="">查看协议</a> -->
	<!--   </td> -->
	<!-- </tr> -->
        <tr>
          <td>&nbsp;
          </td>
          <td>
            <span class="error"><%$error%></span>
          </td>
        </tr>

	<tr>
	  <td>&nbsp;</td><td><input type='submit' name='' value='继 续'/></td>
	</tr>
      </table>
    </form>

  </div>
</div>
<%include file="include/bottom.html"%>  
